<template>
  <div class="editEmployee" style="padding-bottom: 0;!important">
    <Employee ref="Employee" />
  </div>
</template>
<script>

// import { mapState } from 'vuex';
import Employee from './index';
export default {
  name: 'editEmployee',
  components: {
    Employee
  },
  data() {
    return {
      isType: '',
      employeeId: ''
    };
  },
  // computed: {
  //   ...mapState({
  //   })
  // },
  methods: {},
  mounted() {
    this.isType = this.$route.query.isType;
    this.employeeId = this.$route.query.employeeId;
    this.$refs.Employee.initialize(this.isType, this.employeeId);
  }
};
</script>
<style lang="less">
.editEmployee {
  width: 100%;
  height: 100% !important;
}
</style>

